package com.oceansoft.core.dao;

import com.oceansoft.core.common.util.Pagination;
import com.oceansoft.core.domain.SysUser;

public interface IPersonMgrDao {

	/**
	 * 分页查询
	 * @param pageIndex
	 * @param person
	 * @return
	 */
	public Pagination<SysUser> findByPage(int pageIndex, SysUser sysUser);
	
	/**
	 * 根据dbid查询
	 */
	public SysUser findByDbId(long dbid);
	
	/**
	 * 根据policeNum删除
	 */
	public int deleteUserByDbId(long dbId);
}
